Skip to content

Replace <sup> and <sub> where we can #5012

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wbamberg opened this issue May 15, 2021 · 2 comments
Closed

Replace <sup> and <sub> where we can #5012

wbamberg opened this issue May 15, 2021 · 2 comments
Labels
MDN:Project Anything related to larger core projects on MDN

Comments

@wbamberg
Copy link
Collaborator

wbamberg commented May 15, 2021

Markdown doesn't provide a syntax for the <sup> and <sub> elements. In #4578 we decided that we would use HTML for these elements when we have to, and replace them with something equivalent where we can.

The "something equivalent" includes:

  • use caret "^" for exponentiation
  • use words like "first" instead of 1st
  • don't mark up footnotes with <sup>

See https://developer.mozilla.org/en-US/docs/MDN/Contribute/Markdown_in_MDN#superscript_and_subscript.

This bug is to give us a place where we can remove the use of these elements where we can.

@wbamberg wbamberg added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label May 15, 2021
@Rumyra Rumyra added MDN:Project Anything related to larger core projects on MDN and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jun 8, 2021
@sideshowbarker
Copy link
Member

@wbamberg Closing this, as it seems we have this resolved. But of course feel free to reopen if I’m wrong

@wbamberg
Copy link
Collaborator Author

I think we are good :).

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
MDN:Project Anything related to larger core projects on MDN
Projects
None yet
Development

No branches or pull requests

3 participants